import request from '@/utils/request'

// 查询入库列表列表
export function listWarehousingtable(query) {
  return request({
    url: '/Warehousingtablesystem/Warehousingtable/list',
    method: 'get',
    params: query
  })
}

// 查询入库列表详细
export function getWarehousingtable(warehousingRequisitionTableId) {
  return request({
    url: '/Warehousingtablesystem/Warehousingtable/' + warehousingRequisitionTableId,
    method: 'get'
  })
}

// 新增入库列表
export function addWarehousingtable(data) {
  return request({
    url: '/Warehousingtablesystem/Warehousingtable',
    method: 'post',
    data: data
  })
}

// 修改入库列表
export function updateWarehousingtable(data) {
  return request({
    url: '/Warehousingtablesystem/Warehousingtable',
    method: 'put',
    data: data
  })
}

// 删除入库列表
export function delWarehousingtable(warehousingRequisitionTableId) {
  return request({
    url: '/Warehousingtablesystem/Warehousingtable/' + warehousingRequisitionTableId,
    method: 'delete'
  })
}
